using System;
using System.Collections.Generic;
using System.Text;

namespace ZombieHigh2.AI
{
    public class IdleState : BaseState
    {
        public IdleState(PlayerBrain playerBrain)
            : base(playerBrain)
        {
        }

        public override void ActorWithinRange()
        {
            playerBrain.SetState(new MeleeState(playerBrain));
        }

        public override void Hit()
        {
            playerBrain.SetState(new StunState(playerBrain));
        }

        public override void IdleTimeUp()
        {
            playerBrain.SetState(new WalkState(playerBrain));
        }
    }
}
